#define _CRT_SECURE_NO_WARNINGS

#include<iostream>
#include<queue>
using namespace std;
#include"Priority_queue.h"
int main()
{
	zyb::Priority_queue<int> q;
	//priority_queue<int, vector<int>> p;
	//priority_queue<int, vector<int>, less<int>> pq;
	//priority_queue<int, vector<int>, greater<int>> qp;
	q.push(3);
	q.push(1);
	q.push(4);
	q.push(8);
	q.push(2);
	while (!q.empty())
	{
		cout << q.top() << ' ';
		q.pop();
	}
	cout << endl;
	return 0;
}
